import request from '@/utils/request'

// 预登录
export function preLogin(data) {
  return request({
    url: '/dev-api/preLogin',
    method: 'get',
    apiType: 'gcxm',
    params: data
  })
}

// 登录
export function gcxmLogin(data) {
  return request({
    url: '/dev-api/sys/login',
    method: 'post',
    apiType: 'gcxm',
    data
  })
}